library common_lib_plugin;

import 'dart:async';
import 'dart:convert';
import 'dart:developer';
import 'dart:io';
import 'dart:math' as math;
import 'dart:ui' as ui;

import 'package:cached_network_image/cached_network_image.dart';
import 'package:crypto/crypto.dart';
import 'package:decimal/decimal.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_image_compress/flutter_image_compress.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:html_unescape/html_unescape.dart';
import 'package:logger/logger.dart';
import 'package:lpinyin/lpinyin.dart';
import 'package:path_provider/path_provider.dart' as path_provider;
import 'package:stack_trace/stack_trace.dart';
import 'package:ume_log_plugin/ume_log_plugin.dart';

import 'common_lib_plugin_platform_interface.dart';

export 'common/messagable.dart';
export 'common/tappable.dart';

part 'extends/decimal_extends.dart';
part 'extends/color_extends.dart';
part 'extends/double_extends.dart';
part 'extends/future_extends.dart';
part 'extends/int_extends.dart';
part 'extends/iterable_extends.dart';
part 'extends/map_extends.dart';
part 'extends/steam_extends.dart';
part 'extends/string_extends.dart';
part 'extends/widget_extends.dart';
part 'utils/dimens.dart';
part 'utils/file_util.dart';
part 'utils/flutter_device_type.dart';
part 'utils/image_compress_utils.dart';
part 'utils/image_util.dart';
part 'utils/input_format_utils.dart';
part 'utils/log_util.dart';

class CommonLibPlugin {
  Future<String?> getPlatformVersion() {
    return CommonLibPluginPlatform.instance.getPlatformVersion();
  }
}
